package com.sandking.tools;

public class SK_Exception extends Exception {
	private static final long serialVersionUID = 1L;
	private int code;
	private String msg;

	public SK_Exception(int code) {
		this.code = code;
	}

	public SK_Exception(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	@Override
	public String getMessage() {
		return super.getMessage() + SK_Plus.b(" code : ",code," msg : ", msg != null ? msg : "").e();
	}

	public int getCode() {
		return code;
	}
}
